/**
 * @FileName: CcbServiceController.java
 * @Author
 * @Description:
 * @Date 2016年11月30日 下午2:35:19
 * @CopyRight ZTE Corporation
 */
package cn.hpclub.server.controller.admin;

import cn.hpclub.server.constant.Constant;
import cn.hpclub.server.model.CmccOrder;
import cn.hpclub.server.model.RechargeOrder;
import cn.hpclub.server.service.CcbService;
import cn.hpclub.server.service.RefundService;
import com.jfinal.kit.StrKit;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class RefundController extends BaseAdminController<CmccOrder>{
    private static final Logger logger = LoggerFactory.getLogger(RefundController.class);

    public void refund(){
        String orderId = getPara("orderId");
        String amount = getPara("amount");
        JSONObject jo = RefundService.service.refund(orderId,amount);
        renderText(jo.toString());
    }







}
